<?php
/**
 * Created by PhpStorm.
 * User: 764432054@qq.com
 * Date: 2019/12/1
 * Time: 20:59
 */
$o_redis = new Redis();
$o_redis->connect( '127.0.0.1', 6379 );

$o_redis->close();
$r=$o_redis->sAdd('hk',1);
var_dump($r);
print_r($o_redis->sMembers('hk'));
